package com.mrd.gtimpframe.repository;

import com.mrd.gtimpframe.entity.GoodsCode;
import com.mrd.gtimpframe.entity.GoodsCodeKey;

import java.util.List;

public interface GoodsCodeMapper {
    int deleteByPrimaryKey(GoodsCodeKey key);

    int insert(GoodsCode record);

    int insertSelective(GoodsCode record);

    GoodsCode selectByPrimaryKey(GoodsCodeKey key);

    int updateByPrimaryKeySelective(GoodsCode record);

    int updateByPrimaryKey(GoodsCode record);

    /**
     * 根据非null属性查询，codeT、codeS、gName、unit1、unit2、goodsMode为模糊查询
     */
    List<GoodsCode> selectSelective(GoodsCode params);
}